package net.pm.core.service.pmuser.impl;

import javax.annotation.Resource;

import net.pm.common.dao.GenericDao;
import net.pm.common.service.impl.GenericServicerImpl;
import net.pm.core.dao.pmuser.PMDeptDao;
import net.pm.core.entities.db.Pmdept;
import net.pm.core.service.pmuser.PMDeptServicer;

import org.springframework.stereotype.Service;

@Service("PMDeptServicer")
public class PMDeptServicerImpl extends GenericServicerImpl<Pmdept, Integer> implements PMDeptServicer {
	@SuppressWarnings("unused")
	private PMDeptDao deptDao;
	
	@Resource(name="PMDeptDao")
	@Override
	public void setGenericDao(GenericDao<Pmdept, Integer> genericDao) {
		super.genericDao = genericDao;
		this.deptDao = (PMDeptDao) genericDao;
	}
}
